package com.ruoyi.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 商品表 goods
 * 
 * @author zuo min
 * @date 2019-08-08
 */
public class Goods extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 商品ID */
	private Integer goodsId;
	/** 商品标题 */
	private String goodsTitle;
	/** 商品名称 */
	private String goodsName;
	/** 商品类型 */
	private String goodsType;
	/** 所属商户 */
	private Integer shopId;
	/** 所属店铺 */
	private String shopIds;
	/** 所属城市 */
	private String cityId;
	/** 色调 */
	private String fontColor;
	/** 海报图 */
	private String posterImg;
	/** 海报图生成方式 */
	private String posterGenType;
	/** 首张图片 */
	private String firstImg;
	/** 商品图片 */
	private String goodsImg;
	/** 商品备注 */
	private String goodsRemark;
	/** 商品描述 */
	private String goodsIntro;
	/** 总库存数 */
	private Integer stockNum;
	/** 创建时间 */
	private Date createdTime;
	/** 创建人 */
	private Integer createdPerson;

	public void setGoodsId(Integer goodsId) 
	{
		this.goodsId = goodsId;
	}

	public Integer getGoodsId() 
	{
		return goodsId;
	}
	public void setGoodsTitle(String goodsTitle) 
	{
		this.goodsTitle = goodsTitle;
	}

	public String getGoodsTitle() 
	{
		return goodsTitle;
	}
	public void setGoodsName(String goodsName) 
	{
		this.goodsName = goodsName;
	}

	public String getGoodsName() 
	{
		return goodsName;
	}
	public void setGoodsType(String goodsType) 
	{
		this.goodsType = goodsType;
	}

	public String getGoodsType() 
	{
		return goodsType;
	}
	public void setShopId(Integer shopId) 
	{
		this.shopId = shopId;
	}

	public Integer getShopId() 
	{
		return shopId;
	}
	public void setShopIds(String shopIds) 
	{
		this.shopIds = shopIds;
	}

	public String getShopIds() 
	{
		return shopIds;
	}
	public void setCityId(String cityId) 
	{
		this.cityId = cityId;
	}

	public String getCityId() 
	{
		return cityId;
	}
	public void setFontColor(String fontColor) 
	{
		this.fontColor = fontColor;
	}

	public String getFontColor() 
	{
		return fontColor;
	}
	public void setPosterImg(String posterImg) 
	{
		this.posterImg = posterImg;
	}

	public String getPosterImg() 
	{
		return posterImg;
	}
	public void setPosterGenType(String posterGenType) 
	{
		this.posterGenType = posterGenType;
	}

	public String getPosterGenType() 
	{
		return posterGenType;
	}
	public void setFirstImg(String firstImg) 
	{
		this.firstImg = firstImg;
	}

	public String getFirstImg() 
	{
		return firstImg;
	}
	public void setGoodsImg(String goodsImg) 
	{
		this.goodsImg = goodsImg;
	}

	public String getGoodsImg() 
	{
		return goodsImg;
	}
	public void setGoodsRemark(String goodsRemark) 
	{
		this.goodsRemark = goodsRemark;
	}

	public String getGoodsRemark() 
	{
		return goodsRemark;
	}
	public void setGoodsIntro(String goodsIntro) 
	{
		this.goodsIntro = goodsIntro;
	}

	public String getGoodsIntro() 
	{
		return goodsIntro;
	}
	public void setStockNum(Integer stockNum) 
	{
		this.stockNum = stockNum;
	}

	public Integer getStockNum() 
	{
		return stockNum;
	}
	public void setCreatedTime(Date createdTime) 
	{
		this.createdTime = createdTime;
	}

	public Date getCreatedTime() 
	{
		return createdTime;
	}
	public void setCreatedPerson(Integer createdPerson) 
	{
		this.createdPerson = createdPerson;
	}

	public Integer getCreatedPerson() 
	{
		return createdPerson;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("goodsTitle", getGoodsTitle())
            .append("goodsName", getGoodsName())
            .append("goodsType", getGoodsType())
            .append("shopId", getShopId())
            .append("shopIds", getShopIds())
            .append("cityId", getCityId())
            .append("fontColor", getFontColor())
            .append("posterImg", getPosterImg())
            .append("posterGenType", getPosterGenType())
            .append("firstImg", getFirstImg())
            .append("goodsImg", getGoodsImg())
            .append("goodsRemark", getGoodsRemark())
            .append("goodsIntro", getGoodsIntro())
            .append("stockNum", getStockNum())
            .append("createdTime", getCreatedTime())
            .append("createdPerson", getCreatedPerson())
            .toString();
    }
}
